<div class="contener" >
    <ul id="slider1" class="sliderwrapper">
        <?php // Vars: $productPager
        use_javascript('contentslider');




        foreach ($productPager as $product) {
            echo _open('li.contentdiv');

            echo _link($product)->text(_media($product->Image)->size(745, 300));
            echo _tag('div.caption',_tag('div.head',$product->name).dmString::truncate( $product->description, 250));
            echo _close('li');
        }


        ?>
    </ul>

    <div id="paginate-slider1" class="pagination" style="display:none"> </div>
</div>